shopList = ['apple','mango','carrot','banana']
print 'I have',len(shopList),'items to pruchase.'
print 'These items are :',
for item in shopList:
	print item,  
print '\nI also have to buy rice.'
shopList.append("rice")
print 'My shoping list is now',shopList
print 'I will sort my list now'
shopList.sort()
print 'Sorted shopping list is',shopList
print 'The first item I will buy is',shopList[0]
firstItem = shopList[0]
del shopList[0]
print 'I bought the',firstItem
print 'My shopping list is now',shopList